#include "Land.h"

#define IMG_LAND "land_%d.png"
#define PHYSIC_LAND "land_%d"


Land::Land()
{
}

Land::~Land()
{

}

void Land::initGameObjectWith(GamePlayScreen *_gameScreen, CCDictionary *_dict)
{
    GameObject::initGameObjectWith(_gameScreen, _dict);

    this->createSprite();
}

void Land::createSprite()
{
    sprite = new CCSprite();
    sprite->initWithSpriteFrameName("land_0.png");    
    sprite->setPosition(getPosFromDict(dataDict, sprite->getContentSize()));
    sprite->setTag(LAND);
}
